﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SqliteCreate.aspx.cs" Inherits="SqliteCreate" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        1、创建加密数据库<br />
        密码：<asp:TextBox ID="TextBoxPwd" runat="server"></asp:TextBox><br />
        <asp:Button ID="ButtonCreate" runat="server" onclick="ButtonCreate_Click" 
            Text="创建" />
        <asp:Label ID="LabeCreateMsg" runat="server" Text=""></asp:Label>
        <br />
        <br />
        2、修改数据库密码（或者给未加密的数据库加密）<br />
        原密码：<asp:TextBox ID="TextBoxPwdOld" runat="server"></asp:TextBox>
        新密码：<asp:TextBox ID="TextBoxPwdNew" runat="server"></asp:TextBox><br />
        <asp:Button ID="ButtonChange" runat="server" Text="修改" 
            onclick="ButtonChange_Click" />
            <asp:Label ID="LabelChangeMsg" runat="server" Text=""></asp:Label>
        <br />
        <br />
        3、测试数据库<br />
        SQL语句<br />
        <asp:TextBox ID="TextBoxSql" runat="server" Width="947px"></asp:TextBox>
        <br />
        <asp:Button ID="ButtonExecuteSql" runat="server" Text="执行查询" 
            onclick="ButtonExecuteSql_Click" />
            <br />
            <asp:Button ID="ButtonExcuteNonQuery" runat="server" Text="执行增、删、改" onclick="ButtonExcuteNonQuery_Click" 
             />
           
        <br />
        <asp:Label ID="LabelSqlResult" runat="server" Text=""></asp:Label>
    </div>
    </form>
</body>
</html>
